package com.smart.campus.school.domain;

import java.util.Date;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smart.campus.common.annotation.Excel;
import com.smart.campus.common.core.domain.BaseEntity;

/**
 * 考勤记录对象 sc_clock_in_record
 * 
 * @author Zhihe.Li
 * @date 2020-05-29
 */
@Data
public class ClockInRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 时间戳 */
    private Long id;

    /** 校徽编号 */
    private String badgeNo;

    /** 打卡时间 */
    @Excel(name = "打卡时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date clockTime;

    /** 用户Id */
    @Excel(name = "用户Id")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 学号/职工编号 */
    @Excel(name = "学号/职工编号")
    private String userNo;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private Integer userType;
    /**学校Id*/
    private Long schoolId;
    /**签到状态：0:正常;1:迟到*/
    @Excel(name = "签到状态")
    private Integer status;
    /**迟到或早到时间*/
    @Excel(name = "迟到/早到(分钟)")
    private Integer inOutMinute;
    @Excel(name = "第一次进打卡时间")
    private Integer inHm1;
    @Excel(name = "第一次出打卡时间")
    private Integer outHm1;
    @Excel(name = "第二次进打卡时间")
    private Integer inHm2;
    @Excel(name = "第二次出打卡时间")
    private Integer outHm2;
    @Excel(name = "第三次进打卡时间")
    private Integer inHm3;
    @Excel(name = "第三次出打卡时间")
    private Integer outHm3;
    @Excel(name = "第一次打卡状态")
    private Integer state1;
    @Excel(name = "第二次打卡状态")
    private Integer state2;
    @Excel(name = "第三次打卡状态")
    private Integer state3;

    @Excel(name = "迟到/早到(分钟)1")
    private Integer min1;
    @Excel(name = "迟到/早到(分钟)2")
    private Integer min2;
    @Excel(name = "迟到/早到(分钟)3")
    private Integer min3;
    private Long ymd;


}
